package com.gitee.wsl.platform.scheduler

import com.gitee.wsl.concurrent.scheduler.Scheduler
import com.gitee.wsl.platform.scheduler.strategy.FixedExecutorServiceStrategy

actual fun createSingleScheduler(): Scheduler =
    ExecutorServiceScheduler(
        FixedExecutorServiceStrategy(
            threadCount = 1,
            threadFactory = ThreadFactoryImpl("Single")
        )
    )
